Modelling agriculture and the environment: crop production and diffuse pollution