The Effects of Climate Change on Capital and Labor Reallocation