Dissipative structure, hierarchy theory and ecosystems