Calculation of the surface energy of liquid argon and mercury.