Zaslat záznam emailem: State-space model with deep learning for functional dynamics estimation in resting-state fMRI