Whether it’s too much water or not enough, scientists say extreme events — like the recent deadly floods that displaced families in Brazil and Afghanistan — are becoming more frequent and battering many parts of the world that aren’t prepared to deal with them.