Thermogravimetric analysis and the flash-ignition and self-ignition temperatures of copolymers of styrene with halogenated monomers