Muddy, coastal marshes could store more carbon as sea levels rise, scientists reveal.