Crystal-Phase Transitions and Photocatalysis in Supramolecular Scaffolds