CO2 and H2 detection with a CHx/porous silicon-based sensor