The Role of Valence Electron Concentration in Tuning the Structure, Stability, and Electronic Properties of Mo6S9–xIx Nanowires