Photoelectron spectroscopy of carbon dioxide