Mg-Al and Mg-In oxide compounds