A sweeping preconditioner for Yee’s finite difference approximation of time-harmonic Maxwell’s equations