Rooting depth as a key trait connecting water and carbon metabolism of trees