Monte Carlo simulations of high-speed, time-gated microchannel-plate-based x-ray detectors: saturation effects in dc and pulsed modes and detector dynamic range.