Chemical Reactions of Macromolecules in the Solid State