Cats are as good as dogs at certain memory skills and may be just as smart, say scientists.