Structure and molecular relaxation of alternating copolymers of styrene and N-substituted maleimides