High‐resolution resonant refractive index lithography and applications