Structure-performance relationships of magnesium-based CO2 adsorbents prepared with different methods