A mathematical model of pasture contamination by grazing cattle and the effects on herbage intake