Analysis of thin-film structures with nuclear backscattering and x-ray diffraction