Displacement and acceleration measurements in vibration tests using a fiber optic sensor