Robust on-line measurement of conversion and molecular weight using NIR spectroscopy during solution polymerization