Vacuum ultraviolet emission by active nitrogen. II. The excitation of singlet and triplet states of carbon monoxide by active nitrogen