Site—site interactions in a polymer matrix: effect of amine structure on transformations of copoly(styrene—p-nitrophenylacrylate)