Children’s thinking about group-based social hierarchies