Environmental control of phytoplankton cell size