Sharks can help marine ecosystems survive effects of climate