The Design and Optimization of Optical Systems for the Detection and Characterization of Phytoplankton