Terahertz filter based on refractive properties of metallic photonic crystal.