Energy use analysis in the presence of quality of life, poverty, health, and carbon dioxide emissions