Gas turbine–electric locomotive