Method of local increments for the calculation of adsorption energies of atoms and small molecules on solid surfaces. 2. CO/MgO(001).