Visible light photocatalytic activity of aromatic polyamide dendrimer/TiO2 composites functionalized with spirolactam-based molecular switch.