Spontaneously induced magnetic anisotropy in an ultrathin Co/MoS2 heterojunction.