Spectral and collision data of CO+ and the dissociation energy of carbon monoxide