Scattering rigidity, lens rigidity and knot theory