Mechanistic Understanding of a Robust and Scalable Synthesis of Per(6-deoxy-6-halo)cyclodextrins, Versatile Intermediates for Cyclodextrin Modification