An analytical approach to the reconstruction of the radiating currents in inverse electromagnetic scattering