Corrosion behaviors of Cp-Ti and Ti-6Al-4V alloys by TiN coating