A dual functional layer for block copolymer self-assembly and the growth of nanopatterned polymer brushes.