Relation between x-ray photoemission spectroscopy binding energies and absorption resonance energies for CO adsorbates.