Periodic measures and Wasserstein distance for analysing periodicity of time series datasets