Accurate wavelengths for resonance lines of the Cu i and Zn i isoelectronic sequences for Pd to Dy