StackVAE-G: An efficient and interpretable model for time series anomaly detection