Pancharatnam-Berry phase of optical systems.