Recording of x-ray holograms on a position-sensitive detector