Porosity of anodic alumina membranes from electrochemical measurements