Counting statistics of X-ray detectors at high counting rates.