Package LMest for latent Markov analysis of longitudinal categorical data