Understanding local adaptation and predicting responses to climate change in brook trout