4d→5p transitions in the extreme ultraviolet photoabsorption spectra of Sn II and Sn III