Scientists have found a way to predict whether fisheries are vulnerable to climate change