Fast photomultiplier tube gating system for photon counting applications