Learning Correlated Latent Representations with Adaptive Priors