Effect of high-voltage nanosecond pulses on complex plasmas