Analysis of transmission characteristics of long period gratings in tapered optical fibers.