Modulation of the refractive properties of 1D and 2D photonic crystal polycrystalline silicon-based membranes in the MIR frequency range