Evidence of x-ray absorption-edge shift as a function of luminescence wavelength in porous silicon