Keeping local water clean helps fight climate change, new study shows