Partial-discharge detection between parallel-plate gaps