Latent class analysis with multiple latent group variables