Modeling CH4 and N2O emissions for continuous and noncontinuous flooding rice systems