Multipole expansion for electromagnetic scattering