Plant carbon metabolism and water use in a warming climate