Investigating the Brain States Behind FMRI Temporal Dynamics Using Frame-based Analysis Methods and Variational Autoencoders