Template synthesis of molecular knots.