Kubas huvudstad Havanna och ytterligare två tredjedelar av landet drabbades på onsdagen av ett nationellt elhaveri.