The Evolution of Dominance Hierarchies in Nonhuman Primate Society