A model of flow and nutrient absorption in artificial wetland systems