Effects of fabrication method on defects induced by nitrogen diffusion to the hafnium oxide layer in metal-oxide-semiconductor field effect transistors