Electron beam annealing of semiconductors by means of a specifically designed electron gun