A multi-MHz single-shot data acquisition scheme with high dynamic range: pump-probe X-ray experiments at synchrotrons.