Diffusion in porous silicon: effects on the reactivity of alkenes and electrochemistry of alkylated porous silicon