Measurement techniques for thin films