An analysis of the arc and spark spectra of yttrium (Yt I and Yt II)