Infrared study of CO on NiO(100)