Nutrient Dynamics in Flooded Wetlands. I: Model Development