Lattice-gas model of chemisorption on metal surfaces