Compensating vacancy defects in Sn- and Mg-doped In2O3