Polarization switching in optical microsphere resonator