Joints made of two toroidal rings engaged together