Dominance and affiliation as factors in the social organization of same-sex groups of elementary school children