Electron and atomic force microscopes