Global climate and nutrient controls of photosynthetic capacity