Testing linearity against threshold effects: uniform inference in quantile regression