NMR spectrum prediction for dynamic molecules by machine learning: A case study of trefoil knot molecule.