Modelling and optimization of semibatch toluene mononitration with mixed acid from performance and safety viewpoints