Transition-metal substitution induced lattice strain and electrical polarity reversal in monolayer WS2.