Flanged resistance thermometers