In-line characterization of nanostructured mass-produced polymer components using scatterometry