Converting waste into fuel via integrated thermal and electrochemical routes: An analysis of thermodynamic approach on thermal conversion