Application of the Complex Coupled-Mode Theory to Optical Fiber Grating Structures