A Trackside Sensor System for Train Axle Counting by Fiber Bragg Grating Accelerometer