How are cellular respiration and photosynthesis related in terms of energy