The effect of Ti+ ion implantation on the anatase-rutile phase transformation and resistive switching properties of TiO 2 thin films