Theory of photorefractive phase-conjugate ring oscillators