Analysis of radiation-mode coupling in reflective and transmissive tilted fiber Bragg gratings.