On a Connection Between Confidence and Tolerance Intervals