The stability of magnesite in the transition zone and the lower mantle as function of oxygen fugacity