Deforestation diminishes access to clean water, study finds