Fluorescence, phosphorescence, thermoluminescence and charge transfer in synthetic diamond