Covariate measurement error in generalized linear models for longitudinal data: a latent Markov approach