Electrostatic Discharge: From Electrical breakdown in Micro-gaps to Nano-generators