Distributed Raman amplification in phase coherent transfer of optical frequencies over long-haul and metro fiber links