According to one acid-base theory, an acid is a substance that