Double split-loop resonators as building blocks of metasurfaces for light manipulation: bending, focusing, and flat-top generation