Bayesian recurrent state space model for rs-fMRI