Time Series Clustering with General State Space Models via Stochastic Variational Inference