Corrosion behavior of metallic materials in biomedical applications. I. Ti and its alloys