Incorporation of dielectric layers into the processing of III-nitride-based heterostructure field-effect transistors