Latent Class and Latent Transition Analysis with applications in the social, behavioral, and health sciences