The photorefractive incoherent-to-coherent optical converter