A new device for automated spectrophotometric set-point titrations comprising an automatic correction for turbidity and dilution errors and its applications