dogs are one of the oldest types of pets