Reconciling the conservation of in-field biodiversity with crop production using a simulation model of weed growth and competition