An innovative monitoring of residual layer thickness and uniformity in nanoimprint