Characterization of a Fiber-Optic System for the Distributed Measurement of Leakages in Tanks and Pipelines