Transport mechanisms in nanostructured porous silicon layers for sensor and filter applications