Optical and structural characterization of GaN thin films at different N to Ga flux ratios