Thermo-Mechanical Analysis of Electron Gun for traveling-wave tubes