High-speed pin ultraviolet photodetectors fabricated on GaN