Realization of spin-dependent splitting with arbitrary intensity patterns based on all-dielectric metasurfaces