Direct Solid-Phase Optical Measurements in Flow Systems: A Review