Unraveling the mechanism behind the catalytic upgrade of ethanol over MgO