Design and Characterization of Resist and Mold Materials for Electron-Beam and Nanoimprint Lithography