A Mechanistic Approach to Plankton Ecology