Self-energy and inelastic lifetimes of surface-state electrons and holes in metals