Synthesis and characterization of porous silicon layers for 1D photonic crystal application