A constrained Hartree-Fock model for the vaporization of hot nuclei