Mechanically controllable nonlinear dielectrics