Effects of social group size on information transfer and task allocation