Vibrational branching ratios in the photoelectron spectra of N2 and CO: interference and diffraction effects.