A density functional theory study of the adsorption of Hg and HgCl2 on a CaO(001) surface