Complex impedance studies of proton-conducting membranes