Diffusion-mediated resonant energy transfer in lanthanide-based polymer white-light-emitting diodes