High-frequency modulation of the four states of polarization of light with a single phase modulator