Improving the properties of titanium alloys by ion implantation