Researchers devise new tool to measure polarization of light