Modeling And Defect Analysis Of Step And Flash Imprint Lithography And Photolithography