Text this: The energy cost of polypeptide knot formation and its folding consequences