The world is investing huge amounts into dams for clean energy, but they may backfire in one major way