The stability of defects in the ceramic interfaces, MgO/MgO and CeO2/Al2O3