Physical and chemical aspects of partial discharges and their effects on materials