Characterization of the surface layers formed on titanium by plasma electrolytic oxidation