Generator and setup for emulating exposures of biological samples to lightning strokes