Dead-Time Corrections to Photon Counting Distributions