Thermocouples and resistance thermometers