Precision temperature measurement