preparation of coal and coke