describe how the chemical reactions of cellular respiration and photosynthesis keep the amount of carbon dioxide and oxygen balanced​