Device structures on porous silicon studied by scanning electron microscopy in the electron-beam current mode