Defect and dopant properties of MgTa2O6.