The effect of temperature on surface tension