Functional Genomics and Evolution of Photosynthetic Systems