New potential-energy functions for Cu, Ag and Au solids and their applications to computer simulations on metallic surfaces