Measurement of partial discharges A literature review