Electronic structures and optical properties of GaN nanotubes with MgGa–ON co-doping