High-performance optical retarders based on all-dielectric immersion nanogratings.