Modeling photosynthesis and the growth of marine phytoplankton