Semiconductor X-ray metrology