Effect of cathode and anode materials on the high-energy electron beam in the nanosecond-pulse breakdown in gas-filled diodes