Fabrication of E-mode all-GaN devices with self-terminated and self-alignment process