A Rate-Distortion View of Uncertainty Quantification