Magnetic-field dependence of the electroluminescence of organic light-emitting diodes: a competition between exciton formation and spin mixing.