Electrical breaking down of barrier anodic films during their formation