Nanostructured resorcinol-formaldehyde ink for 3D direct writing