Which of the following is not a function of coastal wetlands?