A Hartree-Fock nuclear mass formula