Local behavior of the Clementi–Roetti atomic Hartree–Fock wave functions. Improved local accuracy using global constraints