Development of system for semi-continuous monitoring of salinity in well streams to remove volume measurement errors and detect water breakthrough