process of generating electricity from coal