Kinetic study of the complex formation of boric and boronic acids with mono- and diprotonated ligands