Generative Modeling of Regular and Irregular Time Series Data via Koopman VAEs