Spectroscopic investigations of a Ti:Tm:LiNbO3Ti:Tm:LiNbO3 waveguide for photon-echo quantum memory