A trigonal molecular assembly system with the dual light-driven functions of phase transition and fluorescence switching