Single-atom cavity-enhanced absorption. I. Photon statistics in the bad-cavity limit