Developmental and hair-coat determinants of grooming behaviour in goats and sheep