Threshold voltage variations with temperature in MOS transistors