Direct measurement of the quantum yield for the creation of mobile excitons from localized states using optically detected electron spin coherence