Separation of interlayer resistance in multilayer MoS2 field-effect transistors