Energy and industrial ecology