Managing water for climate adaptation and mitigation