Block copolymers for designing nanostructured porous coatings