A multilevel latent variable model for multidimensional longitudinal data