Single-mode Bragg gratings in tapered few-mode and multimode fibers.