Electron guns using thermionic emission from cathodes heated by particle bombardment or by irradiation, e.g. by laser