Role of microstructure and layer thickness in porous silicon conductometric gas sensors