Parameter optimization for photonic nanojet of dielectric microsphere