Porous one-dimensional nanostructures through confined cooperative self-assembly.