Tight Complexity Bounds for the Two-Dimensional Real Knapsack