Modelling state‐transition dynamics in resting‐state brain signals by the hidden Markov and Gaussian mixture models