CO on Ni group metals: a theoretical study