Relating macroclimatic circulation patterns with characteristics of floods and droughts at the mesoscale