Application of the focused ion and electron beam in nanotechnologies