2s-2p Transitions in the Spectra of CA XVII and TI XIX