The evolution of conformist transmission and the emergence of between-group differences