Optimum leaf size predicted by a novel leaf energy balance model incorporating dependencies of photosynthesis on light and temperature