Why can photosynthesis only occur if a plant has been in the light