Autoionization resonances and configuration-mixing in the emission spectra of Zn I and Cd I