Defect-Related Luminescence in Nanocrystals: Spectroscopy and Computation