Sectoral trends in global energy use and greenhouse gas emissions