Phenological and physiological controls of net ecosystem production and its response to climate change