Design and Characterization of a Ti:LiNbO3 Stress Sensor Taking Account of Temperature Influence