Rail Defect Detection Using Fiber Optic Sensors and Wavelet Algorithms