First-principles calculations on dislocations in MgO ceramics dislocation first-principles calculation