Design of a narrowband retroreflector based on guided-mode resonance