Structurally Driven Environmental Degradation of Friction in MoS2 Films