Unified representation of the C3, C4, and CAM photosynthetic pathways with the Photo3 model