Dissolution of air bubbles by the resistive pulse and the pressure reversal technique