Defect reduction for semiconductor memory applications using jet and flash imprint lithography