Mid-infrared nanoantenna arrays on silicon and CaF2 substrates for sensing applications