Fiber-optic carbon dioxide sensor based on fluorinated xerogels doped with HPTS