CO/MgO(001) at different CO coverages: a periodic ab initio Hartree-Fock and B3-LYP study