Using additive modelling to quantify the effect of chemicals on phytoplankton diversity and biomass.