Characterization of Er3+-doped Ti:LiNbO3 waveguides: losses, absorption spectra and near field measurements