Mobility of bromine in its graphite and pyrocarbon residue compounds