Optical investigations on thermal conductivity in n- and p-type porous silicon