Modelling macroinvertebrate community dynamics 1 in stream mesocosms contaminated with a pesticide 2