Norway's King Harald V has died aged 89 after being treated for a bacterial infection in his blood.