Acid-base interaction in the adhesion between two solid surfaces