Defect interaction and local structural distortions in Mg-doped LaGaO3: A combined experimental and theoretical study