How climate change affects floods