Friction and work function oscillatory behavior for an even and odd number of layers in polycrystalline MoS2.