Dimension-independent learning rates for high-dimensional classification problems