Hallucinations in Large Foundation Models: Characterization, Quantification, Detection, Avoidance, and Mitigation