Modelling of chemical reactions in hypersonic rarefied flow with the direct simulation Monte Carlo method