Electron impact excitation cross sections and energy degradation in CO