A high performance self-powered ultraviolet photodetector based on a p-GaN/n-ZnMgO heterojunction