Root: shoot ratio as a balance between nitrogen productivity and photosynthesis