The condensed fraction of a homogeneous dilute Bose gas within the improved Hartree-Fock approximation