Electron beam lithography: resolution limits and applications