Single-layer resonant-waveguide grating for polarization and wavelength selection in Yb:YAG thin-disk lasers.