Synthesizing SPICE-compatible models of power delivery networks with resonance effect by time-domain waveforms