The role of stresses in the evaluation of the surface free energy of solids