Functional nanostructures from surface chemistry patterning.