Dynamic photochromism in cocrystals and tri-state fluorescence switching in films for multilevel optical encryption | Synapse