Molecular dynamics study of the frictional properties of multilayer MoS2