Ukraine races to reconnect its electricity grid following attacks