Effects of oxygen on the electron transport chain of photosynthesis