Characterization of ion-nitrided titanium layers by means of X-ray microdiffractometry