Electrostatic energy and screened charge interaction near the surface of metals with different Fermi surface shape