Analysis of electrical charging and discharging kinetics of different glasses under electron irradiation in a scanning electron microscope