Prediction bounds for (higher order) total variation regularized least squares