Electron trapping in thin SiO2 films due to avalanche currents