Boronic ester-templated pre-rotaxanes as versatile intermediates for rotaxane endo-functionalisation