Quantitative in-line monitoring of solvent-mediated polymorphic transformation of sulfamerazine by near-infrared spectroscopy.