Global and Regional Inverse Modeling of Atmospheric CH4 and N2O