Generation of vector beams based on dielectric metasurfaces