Fiber Bragg gratings operating across arbitrary wavelength ranges