Ion implantation and annealing of crystalline oxides