Convergent and complementary selection shaped gains and losses of eusociality in sweat bees