Optimization of a novel two-phase potentiometric titration method of barbiturates with mercury (II)