Research suggests that dogs really are smarter than cats