Bending sensor based on tilted fiber Bragg grating