Optically transparent fluorine-containing polycarbonates with high refractive indices for thermo-optic switches