Single-Layer Metasurfaces as Spectrally Tunable Terahertz Half- and Quarter-Waveplates.