Three-dimensional metallic photonic crystals fabricated by soft lithography for midinfrared applications