Global Embodied Energy Flow and Stock Analysis with Endogeneous Fixed Capital.