Thermodynamic modelling and evaluation of a two-stage thermal process for waste gasification