Self-energy and interaction energy of stacking fault in fcc metals calculated by embedded-atom method