Applications of latent trait and latent class models in the social sciences