Photosynthetic electron-transport system controls cytoplasmic glucose-6-phosphate dehydrogenase activity in pea leaves