Computational models for the shuttling motion of the macrocycle in rotaxane-based molecular switches