The benefits of grouping as a main driver of social evolution in a halictine bee