Accurate clock synchronization for power systems protection devices over packet switched networks