On the frequency-dependence of the impedance of n- and p-type gallium arsenide electrodes