Isomeric squaraine-based [2]pseudorotaxanes and [2]rotaxanes: synthesis, optical properties, and their tubular structures in the solid state.