Water quality and quantity in forest ecosystems