Effect of surface layer on optical properties of GaN and InxGa1−xN upon thermal annealing