Rotational diffusion of two-segmented macromolecules with a ball–socket joint: A kinetic theory approach