how is coal processed and refined