Atomic-Scale Chemical Conversion of Single-Layer Transition Metal Dichalcogenides.