Effect of strain on atomic-scale friction in layered MoS2