From vacuum fluctuations to radiation. I. Accelerated detectors.