Adaptive rates for support vector machines