The size-based dynamics of plankton food webs. I. A simulation model of carbon and nitrogen flows