Spin deposition of MoSx thin films