Real-time anomaly detection in seasonal time series with conditional variational autoencoder