Vibrational spectra of coadsorbed CO and H on Ni(100) and Ni(111)