Combined analyses of ion beam synthesized layers in porous silicon