Synchronization of Kuramoto oscillators in scale-free networks