photosynthesis transform electromagnetic energy from the sun into​