Planar integrated optical Bragg grating gas sensors