Mixed oxygen ionic-carbonate ionic conductor membrane reactor for coupling CO2 capture with in situ methanation