Analysis and control of electrical insulation leakage in platinum resistance thermometers up to 1064 °C