What are the energy intermediates involved in photosynthesis