CO on NiO(100): orientation and bonding