Advanced functionalities enabled by dipolar and multipolar all-dielectric metasurfaces