Computational studies of the kinetics of the C+NO and O+CN reactions