John Mahama has been sworn in as Ghana's president for a third time, promising to address the country's severe economic crisis and unemployment.