Anisotropic thermal conductivity in uranium dioxide