Confidence, uncertainty, and trust in AI affect how humans make decisions