Electronic excitations of adsorbed CO