Distributed-gain measurements and splice loss characterization in S-band TDFA by coherent optical frequency-domain reflectometry