Reactions of coal mineral matter during coal chlorination