Thermal gravimetric analysis of graphite-bromine compounds