Characterizing and optimizing the electropolishing and pore arrangement in porous anodic aluminum oxide (AAO)