Protection against electrostatic charges or discharges