Carboxyl-functionalized nanochannels based on block copolymer hierarchical structures.