Pharmaceutical formulation analysis using room temperature phosphorescence