Comparison of photon stimulated dissociation of gas phase and chemisorbed CO