Characterisation of urban water consumption by the analysis of historical time series