Analysis of bend loss in waveguides employing photonic band gap effect