Novel polythreaded coordination polymer: from an armed-polyrotaxane sheet to a 3D polypseudorotaxane array, photo- and thermochromic behaviors.