New methodology for calculation of acid-base dissociation constants of monoprotic and diprotic acids with close pK values from absorptiometric data and pH measurements