Preparation of a photo- and thermo-responsive topological gel from anthracene-modified polyrotaxanes.