Electronic stability and electron transport properties of atomic wires anchored on the MoS2 monolayer.