Information-theoretic generalization bounds for black-box learning algorithms