An index of dissimilarity among time series: an application to the inflation rates of the UE countries