Single-particle properties from Kohn–Sham Green's functions