A frequency-dependent WETD formulation for dispersive materials