The effect of different pulse patterns on the plasma reduction of CO2 for a nanosecond discharge