Defects in doped LaGaO3 anionic conductors: linking NMR spectral features, local environments, and defect thermodynamics.