Quantifying the global N2O emissions from natural ecosystems using a mechanistically-based biogeochemistry model