Electron beam nano-etching in oxides, fluorides, metals and semiconductors