Self-consistent Green's-function method for surfaces of random alloys.