Spectroscopic ellipsometry for depth profiling of ion implanted materials