A novel method of calculating the energy deposition curve of nanosecond pulsed surface dielectric barrier discharge