Analysis of leaky modes and Bragg fibers using transmission line equivalent T-circuits