Hartree-Fock calculations for crystalline Ne and LiF