The thermodynamic characteristics of formation of nanoparticles from supercritical solvents