Total Variation Classes Beyond 1d: Minimax Rates, and the Limitations of Linear Smoothers