Hidden Markov and mixture panel data models for ordinal variables derived from original continuous responses