Electro-optic property of chromophore-terminated trifunctional dendrimer in a guest–host system