Analysis of Ni/Ti multilayers by X-ray diffraction