In situ X-ray diffraction investigations during high-energy oxygen ion implantation in transition metals