Thermodynamic processes in the development of forest ecosystems and plant populations