On-line properties analysis of a molten polymer by raman spectroscopy for control of a mixing device