Spin-dependent transport and recombination in solar cells studied by pulsed electrically detected magnetic resonance