XH Defects in Nonmetallic Solids: Isotope Effects and Anharmonicities as Probes of Defect Environments