Evolution of pore structure, submaceral composition and produced gases of two Chinese coals during thermal treatment