Restoring marine ecosystems against global warming