A variable pulse-length electron beam from the back-lighted thyratron