Conductivity mechanisms of porous silicon