Energy Externalities as Indicators of Ecological Work in Economic Macroprocesses