Ligand Induced Anionic Cuprous Cyanide Framework for Cupric Ion Turn on Luminescence Sensing and Photocatalytic Degradation of Organic Dyes.