Distributed raman optical amplification in phase coherent transfer of optical frequencies