Preparation of porous oxide layers by oxygen bubble templated anodic deposition followed by galvanic displacement