Comparing photosynthesis and respiration