Highly uniform residual layers for arrays of 3D nanoimprinted cavities in Fabry–Pérot-filter-array-based nanospectrometers