Evolutionary relationships among photosynthetic bacteria