Charging in scanning electron microscopy "from inside and outside".