Spectrophotometric determination of thermodynamic ionization constants of organic acids and their metal complexes in aqueous medium