Magnitude-frequency analysis of water redistribution along a climate gradient in Spain