Ecological aspects of nitrogen cycling in terrestrial ecosystems and the emission of nitrous oxide, an important greenhouse gas