Synchronization in random networks with given expected degree sequences