Fabrication, instrumentation and application for subwavelength periodic nanophotonic devices