Continuous-time Autoencoders for Regular and Irregular Time Series Imputation