Emergence of giant magnetic anisotropy in freestanding Au/Co nanowires