Gauge-independent approach to resonant transition amplitudes.