Continuous normalizing flows on manifolds