Interacting oscillators in Complex Networks: Synchronization and the Emergence of Scale-Free Topologies