How do photosynthesis and cellular respiration relate to metabolism?