Performance Analysis of a Pt/n-GaN Schottky Barrier UV Detector