Text this: First-principles study of defect-induced luminescence mechanism in ternary nitride LiAlN