Crystal Structure and Defects in Nitrogen-Deficient GaN