Fabrication of nanophotonic structures by soft UV nanoimprint lithography