Self-consistent linear-muffin-tin-orbitals coherent-potential technique for bulk and surface calculations: Cu-Ni, Ag-Pd, and Au-Pt random alloys.