Design and Optimization of Vertical GaN PiN Diodes With Fluorine-Implanted Termination