For half a century, neuroscientists thought they knew how memory worked. They were wrong