Phase locking laser diodes using photorefractive coupling