Anodization of titanium alloys for orthopedic applications