Cooling and the string tension in lattice gauge theories