Permeated porous silicon for hydrocarbon sensor fabrication