Distributed Network Synchronization: The Internet And Electric Power Grids