Polarization modulation of light in an optical waveguide under lateral compression