Electronic defects in the halide antiperovskite semiconductor Hg3Se2 I2