Automatic potentiometric titration in monosegmented flow system exploiting binary search