Fundamentals and applications of spin-decoupled Pancharatnam–Berry metasurfaces