Dielectric Nonlocal Metasurfaces for Fully Solid-State Ultrathin Optical Systems