Ionic liquid gated electric-double-layer transistors based on Mg-doped InN epitaxial films