In-Line Reaction Monitoring of a Methyl Methacrylate and N,N-Dimethylacrylamide Copolymerization Reaction Using Near-Infrared Spectroscopy