are cats more intelligent than dogs