Effect of flow rates of gases flowing through a coal bed during coal heating and cooling on concentrations of gases emitted and fire hazard assessment