Interaction of quantum systems with single pulses of quantized radiation