Thermal plasticity of leaf energy metabolism: ecological, physiological and biochemical linkages