Layered nanostructures