Text this: Identical folds used for distinct mechanical functions of the bacterial flagellar rod and hook