Formation of ripples in atomically thin MoS2 and local strain engineering of electrostatic properties