Major factors controlling nitrous oxide emission and methane uptake from forest soil