More wind and solar capacity could save some of the world’s most important rivers