X-ray imaging of atomic nuclei