HCN and N2 formation mechanism during NO/char reaction