Glass and Glass–Ceramic Photonic Materials for Sensors