High-performance Bragg gratings in chalcogenide rib waveguides written with a modified Sagnac interferometer