On rate-optimal classification from non-private and from private data