Effect of atomic vibrations on the x-ray absorption spectra at theKedge of Al inα-Al2O3and of Ti inTiO2rutile