Epitaxial and polycrystalline HfNx (0.8⩽x⩽1.5) layers on MgO(001): Film growth and physical properties