Structure and stability of halogenated polymers: Part 1—Ring-chlorinated polystyrene