Plant pigments, Oxygenic and anoxygenic photosynthesis