Impedance measurements for determination of pore texture of a carbon membrane