Nanostructures using self-assembled multilayers as molecular rulers and etch resists