Capital and Labor Reallocation within Firms