Forest growth in the light of the thermodynamic theory of ecological systems