Porosity and thickness effect of porous silicon layer on photoluminescence spectra