AC impedance of the bipolar membrane at low and high frequencies