Development and Optimization of a Mid-Infrared Hollow Waveguide Gas Sensor Combined with a Supported Capillary Membrane Sampler