Structural evolution and the role of native defects in subnanometer MoS nanowires