Resonant e+e− production by time-varying electromagnetic fields☆