Differential geometry of polymer models: worm-like chains, ribbons and Fourier knots