Power has been restored to several parts of Kenya after a widespread blackout left large areas without electricity overnight.