Photorefractive incoherent-to-coherent optical converter