Approximate extended formulations for multidimensional knapsack and the unsplittable flow problem on trees