Photofunctional materials : photochromism, thermally activated delayed fluorescence and room temperature phosphorescence