Absorption spectra of Zn i and Cd i in the 1300–1750 Å region