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