The findings may help veterinarians and pet parents identify canine cognitive decline