Explain how plants are adapted to the high-salinity and waterlogged soil conditions of a coastal salt marsh ecosystem.