What forms of energy are converted during photosynthesis?