Modelling the ability of legumes to suppress weeds