Analysis of the control of photosynthesis in C4 plants by changes in light and carbon dioxide