Design and detection method of three-electrode humidity sensor based on micro-arc MgO