Damage accumulation and structural modification in c-plane and a-plane GaN implanted with 400 keV Kr and Gd ions