Photosynthesis and cellular respiration measurement methods