Total spends $1.7 billion for controlling stake in Direct Energie