Selective devices having photonic band gap materials or materials of which the material properties are frequency dependent