X-ray imaging during plasma-source ion implantation