M. Habitat time series analysis to develop flow management criteria in rivers affected by hydropeaking.