Correlation effects in the surface energy of metals