Theory of Fano resonance for scattering spectrum of all-dielectric spherical resonators