Electronic and structural properties of GaN grown by hydride vapor phase epitaxy