A full-retarded spectral technique for the analysis of fano resonances in a dielectric nanosphere