On the assessment by grazing-incidence small-angle X-ray scattering of replica quality in polymer gratings fabricated by nanoimprint lithography