On the Relationship of Social Evolution and Ecology in Ungulates