Partial discharges in internal voids: Dependence on defect position with respect to electrodes