Sorry, cat lovers, there’s scientific proof that dogs are smarter