Direct nanoprinting technology and its application to nanostructure fabrication