Potential and limitations of inferring ecosystem photosynthetic capacity from leaf functional traits