Retrieving photorecombination cross sections of atoms from high-order harmonic spectra