generalized Kohn–Sham theory