Clustering of time series via non-parametric tail dependence estimation