metod of converting coal to energy