The solid state structures of a [3]rotaxane and its [3]pseudorotaxane precursor