The influence of nanocrystals on the dielectric function of porous silicon