Electron-beam lithography patterning of magnetic nickel films