Scattering of a plane electromagnetic wave by a generalized Luneburg sphere-Part 2: Wave scattering and time-domain scattering