Energy and civilization, a history