Effects of polarization rotation in optical ring-resonator-based devices