Automatic classification of brain resting States using fMRI temporal signals