Growth, characterization, and thermodynamics of III-nitride semiconductors