Applications of synchrotron radiation in defect and color center research