Planar waveguide formation in KTiOPO4 by MeV Ni+ ion implantation