Photosynthetic Carbon Metabolism: Strategy of Adaptation over Evolutionary History