Total has purchased stakes in renewable energy company Eren and energy efficiency company GreenFlex as falling costs make renewable energy alternatives more appealing