Waveform-selective metasurfaces for electromagnetic cloaking