Continuous-Time Flows for Efficient Inference and Density Estimation