Layer-Dependent Chemically Induced Phase Transition of Two-Dimensional MoS2.