Characterizing Gene Expression Time Series using a Hidden Markov Model