Managing China’s thousands of dams is trickier in the era of climate change