A weak form of the conjugate gradient FFT method for two-dimensional TE scattering problems