Polarization stabilizer for polarization-division multiplexed optical systems