Continuous roll-to-roll patterning of three-dimensional periodic nanostructures