Impact of device scaling on the electrical properties of MoS2 field-effect transistors