Origin of Oxygenic Photosynthesis from Anoxygenic Type I and Type II Reaction Centers