Simultaneous TA and MS analysis of alternating styrene-maleic anhydride and styrene-maleimide copolymers