Quantum electrodynamics of resonant energy transfer in condensed matter.