Chiroptical inversion of a planar chiral redox-switchable rotaxane