Intergranular fracture in UO2: derivation of traction-separation law from atomistic simulations