A Unifying Normative Framework of Decision Confidence