Dynamic optimization of semicontinuous emulsion copolymerization reactions: composition and molecular weight distribution