The AR metric for the classification of hydrological time series