X-ray thin-film measurement techniques