Ion implantation and thermal nitridation of biocompatible titanium