Density-Dependent Potentials and the Hard-Sphere Model for Liquid Metals