Finite-element solution to electromagnetic scattering problems by means of the Robin boundary condition iteration method