Tuning intrachain versus interchain photophysics via control of the threading ratio of conjugated polyrotaxanes.