In-line Refractometer