Ion–molecule reactions of N+ and O+ with nitric oxide