Dependent Latent Class Models