Characterization of optical properties of optical polymers