Reactions of acids and bases in analytical chemistry