Electronic and photoconductive properties of ultrathin InGaN photodetectors