Determination of the residual stress state in a natural titanium oxide layer