Mathematical modelling and simulation of nitrite hydrogenation in a membrane microreactor