Thermal stability enhancement of electrooptic polymer modulator