Social aggregations in cattle. II. Contributions of familiarity and genetic similarity