Electron surface waves in a nonuniform plasma slab