Modeling the doubly excited state with time-dependent Hartree-Fock and density functional theories.