The analysis of thin nickel-gold films by X-ray diffraction and non-dispersive X-ray fluorescence