Synchronization in complex networks with long-range interactions