Porous silicon—mechanisms of growth and applications