Thermodynamics of organisms in the context of dynamic energy