Text this: Investigation on the stability to UV curing and surrounding temperatures of polymer film for the design of thermo-optic switches