Templated nanopores for robust functional surface porosity in poly(methyl methacrylate).