Synchronization for complex dynamic networks with state and coupling time-delays