Optical solitons in fiber Bragg gratings via modified simple equation