Temperature effects on the surface properties of metals