Photorefractive direct laser writing