Invia SMS: Optimization of single-mode sapphire waveguide Bragg gratings