what happens when an acid or base