swamps are an ecosystem