Generative Learning of Densities on Manifolds