Producers, scroungers and foraging group structure