Simulation of a urea synthesis reactor. 1. Thermodynamic framework