From Time Series to Euclidean Spaces: On Spatial Transformations for Temporal Clustering