Discharges and electrical insulation in vacuum