Integral-equation approaches to electromagnetic scattering