A dynamic latent model for poverty measurement