The mechanisms contributing to photosynthetic control of electron transport by carbon assimilation in leaves