Thermally driven homonuclear-stacking phase of MoS2 through desulfurization