Macromolecular compounds containing atoms other than carbon in the main chain of the macromolecule {derived from organic halides}