Identification of Gases by Porous Optical Sensors Using Reflectivity Difference and Wavelength Shift