Ecology of coastal and marine ecosystems