Social polymorphism and social behaviour in sweat bees (Hymenoptera: Halictidae)