Variational autoencoders with flexible priors enable robust distribution learning on single-cell RNA sequencing data