A hidden Markov model for continuous longitudinal data with missing responses and dropout