Synthesis and characterization of GaN using gas–solid reactions