Thermodynamic Analysis And Sustainability Improvement Of Nanoparticles Synthesis Processes With Application To Titanium Dioxide