Analysis of photonic band gap structure for the design of photonic devices